using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using YayiMgr.Ability.Docking.Commom;
using YayiMgr.Ability.Docking.UserApp.Dto;
using Youshow.Ace.Ability.Services;

namespace YayiMgr.Ability.Docking.UserApp
{
    public interface IUserServicer: IAbilityServicer
    {
        Task<ResponseDto<LoginSuccessDto>> CheckLogin(string userName, string password);
        Task<ResponseDto<UserRegisterDto>> Register(UserRegisterCreateDto createDto);

        
        Task<QueryListDto<UserDto>> GetUsers(UserQueryDto dto);
        Task<ResponseDto<UserDto>> GetUserById(Guid id);
        Task<ResponseDto<UserDto>> AddUser(UserCreateDto input);
        Task<ResponseDto<UserDto>> UpdateUser(Guid id, UserUpdateDto input);
        Task DeleteUser(Guid id);
    }
}